﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script type="text/javascript" src="../js/flotr2.min.js"> </script>
    <script type="text/javascript" src="../js/jquery-1.6.2.min.js"> </script>
    <script type="text/javascript" src="../services/EventFetchingClientSideService.js"> </script>
    <script type="text/javascript" src="../widgets/dishdash.widget.eventcount.pie.js"> </script>
</head>
<body>
    <div id="testGraph" style="width: 400px; height: 400px" />
    <script type="text/javascript">

        var data = {
            widgetName: "Some System Performance",
            refreshPeriod: 5,
            samplePeriod: 360,
            events: ["ProfilingApp.Handlers.SecurityHandler.CreateCustomerResponse"]
        };


        var d1 = [[0, 1]];
        var d2 = [[0, 2]];

        var graph = new dishdash.graphs.eventCountWidget("testGraph", data);
//        graph.draw([
//                        { data: d1, label: "test1" }, { data: d2, label: "test2"}]);
        graph.start();
    </script>
</body>
</html>
